package com.eclab.code;

import com.eclab.security.core.validate.code.ValidateCodeGenerator;
import com.eclab.security.core.validate.code.image.ImageCode;
import org.springframework.web.context.request.ServletWebRequest;

import javax.servlet.http.HttpServletRequest;

/**
 * 描述:
 * 自定义验证码生成逻辑
 * @author yd
 * @create 2019-01-21 14:47
 */
//@Component("imageCodeGenerator")
public class DemoImageCodeGenerator implements ValidateCodeGenerator {
    @Override
    public ImageCode generate(ServletWebRequest request) {
        System.out.println("------------执行更高级的验证码生成逻辑---------");
        return null;
    }
}
